package net.maku.module.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;

import net.maku.newbase.NewBaseEntity;

/**
 * 业务_字典
 *
 * @author
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Entity(name = "b_dictionaries")
@TableName("b_dictionaries")
public class DictionariesEntity extends NewBaseEntity {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Id
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 备注
     */
    private String remark;

    /**
     * 排序
     */
    private Long sort;

}